import request from "@/utils/request.js";
const user = {
  //账户登录
  userLogin: (data) =>
    request.post("/api/user/login", data, {
      noAuth: true,
    }),
  // 获取用户信息
  getUserInfo: () => request.get("/getUserInfo"),
  getlogout: (data) => request.post("/api/user/logout", data),
  getmakepass: (data) => request.post("/api/user/modpass", data),
  getOrderList: (data) => request.post("/api/user/order", data),
  getOrderaccept: (data) => request.post("/api/user/accept", data),
  getwxlogin: (data) => request.post("/api/user/getopenid", data),
};
export default user;
